<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition template="/resources/template/TemplateQuestionnaireEFP.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:ice="http://www.icesoft.com/icefaces/component">
    <ui:define name="pageTitle">Entreprise Feedback Platfrom</ui:define>
    <ui:define name="title">liste des questionnaires</ui:define>


    <ui:define name="body">
        <!-- affichage de la page de question -->
        <ice:panelGroup visible="#{reponseQuestionnaireController.questionVisible}">
            <ui:include src="#{reponseQuestionnaireController.question}" />
        </ice:panelGroup>
        <!-- affichage du bouton de suite, pour les questions chronometrees -->
        <ice:panelGroup visible="#{!reponseQuestionnaireController.questionVisible}">
            <ice:commandButton value="questionSuivante" action="#{reponseQuestionnaireController.suite}"/>
        </ice:panelGroup>
    </ui:define>

    <ui:define name="navigation">
        <!-- panel a visibilite variable,
            necessaire pour la gestion des questions chronometrees -->
        <ice:panelGroup visible="#{reponseQuestionnaireController.questionVisible}" >
            <ui:include src="#{navigationQuestionController.bandeau}" />
        </ice:panelGroup>
        
    </ui:define>

</ui:composition>


